import AutoImport from 'unplugin-auto-import/vite';
export default () =>
	AutoImport({
		include: [
			/\.[tj]sx?$/,
			/\.vue$/,
			/\.vue\?vue/, // .vue
		],
		imports: [
			'vue',
			'vue-router',
			{
				from: 'lodash-es',
				imports: ['isArray', 'values'],
			},
		],
		dts: 'src/auto-import.d.ts',
	});
